#include <bits/stdc++.h>

using namespace std;

#define int long long

signed main()
{
    string s;
    while(cin >> s)
    {
        if(s[0] <= 'z' && s[0] >= 'a') cout << char(s[0] - 32);
        else cout << s[0];
    }
    return 0;
}